package ycl.schedule.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;

import java.time.LocalDateTime;

/**
 * <p>
 * 日程词库
 * </p>
 *
 * @author ycl
 * @since 2022-06-23 20:21:11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("schedule_thesaurus")
@ApiModel(value = "ScheduleThesaurus对象", description = "日程词库")
public class ScheduleThesaurus extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = " 词名")
    @TableField("name")
    private String name;

    @Schema(description = "用户id，-1为全局用户共用，其他为私有")
    @TableField("user_id")
    private Long userId;

    @Schema(description = "词库类型")
    @TableField("type")
    private String type;

    @Schema(description = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Schema(description = "状态，1正常，0禁用")
    @TableField("status")
    private Boolean status;


}
